package com.secsys.dto;

import java.util.Date;

import com.secsys.model.TbStoStockdaily;
public class StoStockdailyDTO implements java.io.Serializable {

	private static final long serialVersionUID = 5203696544323915980L;
	private Integer id;
	private Date operateDate;
	private Double startPrice;
	private Double maxPrice;
	private Double minPrice;
	private Double endPrice;
	private Double amount;
	private Long volume;



	public StoStockdailyDTO() {
		super();
	}
	public StoStockdailyDTO(TbStoStockdaily tbStoStockdaily){
		this.id = tbStoStockdaily.getId();
		this.operateDate = tbStoStockdaily.getOperateDate();
		this.startPrice = tbStoStockdaily.getStartPrice();
		this.maxPrice = tbStoStockdaily.getMaxPrice();
		this.minPrice = tbStoStockdaily.getMinPrice();
		this.endPrice = tbStoStockdaily.getEndPrice();
		this.amount = tbStoStockdaily.getAmount();
		this.volume = tbStoStockdaily.getVolume(); 
	}
	public StoStockdailyDTO(Integer id, Date operateDate, Double startPrice,
			Double maxPrice, Double minPrice, Double endPrice, Double amount,
			Long volume) {
		super();
		this.id = id;
		this.operateDate = operateDate;
		this.startPrice = startPrice;
		this.maxPrice = maxPrice;
		this.minPrice = minPrice;
		this.endPrice = endPrice;
		this.amount = amount;
		this.volume = volume;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	/**
	 * 日期
	 * @return
	 */
	public Date getOperateDate() {
		return operateDate;
	}
	/**
	 * 日期
	 * @return
	 */
	public void setOperateDate(Date operateDate) {
		this.operateDate = operateDate;
	}
	/**
	 * 开盘价格
	 * @return
	 */
	public Double getStartPrice() {
		return startPrice;
	}
	/**
	 * 开盘价格
	 * @return
	 */
	public void setStartPrice(Double startPrice) {
		this.startPrice = startPrice;
	}
	/**
	 * 收盘价格
	 * @return
	 */
	public Double getEndPrice() {
		return endPrice;
	}
	/**
	 * 收盘价格
	 * @return
	 */
	public void setEndPrice(Double endPrice) {
		this.endPrice = endPrice;
	}
	/**
	 * 当天最高价格
	 * @return
	 */
	public Double getMaxPrice() {
		return maxPrice;
	}
	/**
	 * 当天最高价格
	 * @return
	 */
	public void setMaxPrice(Double maxPrice) {
		this.maxPrice = maxPrice;
	}
	/**
	 * 当天最低价格
	 * @return
	 */
	public Double getMinPrice() {
		return minPrice;
	}
	/**
	 * 当天最低价格
	 * @return
	 */
	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}
	/**
	 * 成交额
	 * @return
	 */
	public Double getAmount() {
		return amount;
	}
	/**
	 * 成交额
	 * @return
	 */
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * 成交量
	 * @return
	 */
	public Long getVolume() {
		return volume;
	}
	/**
	 * 成交量
	 * @return
	 */
	public void setVolume(Long volume) {
		this.volume = volume;
	}

}